package com.chinairi.mall.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 物料表
 * </p>
 *
 * @author gsl
 * @since 2020-08-26
 */
@TableName("MATERIAL")
public class Material extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 物料表ID
     */
    @TableId("MAT_DBID")
    private String matDbid;

    /**
     * 物料分类编码主键
     */
    @TableField("MAT_CLASS_DBID")
    private String matClassDbid;

    /**
     * 物料名称
     */
    @TableField("MAT_NAME")
    private String matName;

    /**
     * 物料编码
     */
    @TableField("MAT_CODE")
    private String matCode;

    /**
     * 质量等级
     */
    @TableField("MAT_QUALITY_LEVEL")
    private String matQualityLevel;

    /**
     * 生产周期
     */
    @TableField("MAT_PRODUCT_PERIOD")
    private String matProductPeriod;

    /**
     * 执行标准
     */
    @TableField("MAT_IMPLEMENT_STANDARD")
    private String matImplementStandard;

    /**
     * 材质
     */
    @TableField("MAT_TEXTURE")
    private String matTexture;

    /**
     * 规范级别
     */
    @TableField("MAT_SPECIFICATION_LEVEL")
    private String matSpecificationLevel;

    /**
     * 规格型号
     */
    @TableField("MAT_SPECIFICATIONS")
    private String matSpecifications;

    /**
     * 物料分类编码
     */
    @TableField("MAT_CLASS_CODE")
    private String matClassCode;

    /**
     * 安全库存
     */
    @TableField("MAT_SAFETY_STOCK")
    private Float matSafetyStock;

    /**
     * 基本计量单位
     */
    @TableField("MAT_MEASUER_UNIT")
    private String matMeasuerUnit;

    /**
     * 辅助计量单位
     */
    @TableField("MAT_ASSIST_MEASURE")
    private String matAssistMeasure;

    /**
     * 采购周期
     */
    @TableField("MAT_PURCHASE_CYCLE")
    private String matPurchaseCycle;

    /**
     * 是否必检
     */
    @TableField("MAT_IS_DECETE")
    private String matIsDecete;

    /**
     * 是否必监
     */
    @TableField("MAT_IS_SUPERVISION")
    private String matIsSupervision;

    /**
     * 图号
     */
    @TableField("MAT_DRAW_NO")
    private String matDrawNo;

    /**
     * 重量
     */
    @TableField("MAT_WEIGHT")
    private BigDecimal matWeight;

    /**
     * 损耗率
     */
    @TableField("MAT_LOSS_LATE")
    private Float matLossLate;

    /**
     * 单价
     */
    @TableField("MAT_PRICE")
    private Float matPrice;

    /**
     * 制造周期
     */
    @TableField("MAT_PRODUCE_CYCLE")
    private String matProduceCycle;

    /**
     * 物料描述
     */
    @TableField("MAT_DESCRIPTION")
    private String matDescription;

    /**
     * 使用状态
     */
    @TableField("MAT_USE_STATE")
    private Integer matUseState;

    /**
     * 机构ID
     */
    @TableField("MAT_ORGID")
    private String matOrgid;

    /**
     * 创建人
     */
    @TableField("MAT_CREATE_USER")
    private String matCreateUser;

    /**
     * 创建时间
     */
    @TableField("MAT_CREATE_TIME")
    private Date matCreateTime;

    /**
     * 修改人
     */
    @TableField("MAT_UPDATE_USER")
    private String matUpdateUser;

    /**
     * 修改时间
     */
    @TableField("MAT_UPDATE_TIME")
    private Date matUpdateTime;

    public String getMatDbid() {
        return matDbid;
    }

    public void setMatDbid(String matDbid) {
        this.matDbid = matDbid;
    }
    public String getMatClassDbid() {
        return matClassDbid;
    }

    public void setMatClassDbid(String matClassDbid) {
        this.matClassDbid = matClassDbid;
    }
    public String getMatName() {
        return matName;
    }

    public void setMatName(String matName) {
        this.matName = matName;
    }
    public String getMatCode() {
        return matCode;
    }

    public void setMatCode(String matCode) {
        this.matCode = matCode;
    }
    public String getMatQualityLevel() {
        return matQualityLevel;
    }

    public void setMatQualityLevel(String matQualityLevel) {
        this.matQualityLevel = matQualityLevel;
    }
    public String getMatProductPeriod() {
        return matProductPeriod;
    }

    public void setMatProductPeriod(String matProductPeriod) {
        this.matProductPeriod = matProductPeriod;
    }
    public String getMatImplementStandard() {
        return matImplementStandard;
    }

    public void setMatImplementStandard(String matImplementStandard) {
        this.matImplementStandard = matImplementStandard;
    }
    public String getMatTexture() {
        return matTexture;
    }

    public void setMatTexture(String matTexture) {
        this.matTexture = matTexture;
    }
    public String getMatSpecificationLevel() {
        return matSpecificationLevel;
    }

    public void setMatSpecificationLevel(String matSpecificationLevel) {
        this.matSpecificationLevel = matSpecificationLevel;
    }
    public String getMatSpecifications() {
        return matSpecifications;
    }

    public void setMatSpecifications(String matSpecifications) {
        this.matSpecifications = matSpecifications;
    }
    public String getMatClassCode() {
        return matClassCode;
    }

    public void setMatClassCode(String matClassCode) {
        this.matClassCode = matClassCode;
    }
    public Float getMatSafetyStock() {
        return matSafetyStock;
    }

    public void setMatSafetyStock(Float matSafetyStock) {
        this.matSafetyStock = matSafetyStock;
    }
    public String getMatMeasuerUnit() {
        return matMeasuerUnit;
    }

    public void setMatMeasuerUnit(String matMeasuerUnit) {
        this.matMeasuerUnit = matMeasuerUnit;
    }
    public String getMatAssistMeasure() {
        return matAssistMeasure;
    }

    public void setMatAssistMeasure(String matAssistMeasure) {
        this.matAssistMeasure = matAssistMeasure;
    }
    public String getMatPurchaseCycle() {
        return matPurchaseCycle;
    }

    public void setMatPurchaseCycle(String matPurchaseCycle) {
        this.matPurchaseCycle = matPurchaseCycle;
    }
    public String getMatIsDecete() {
        return matIsDecete;
    }

    public void setMatIsDecete(String matIsDecete) {
        this.matIsDecete = matIsDecete;
    }
    public String getMatIsSupervision() {
        return matIsSupervision;
    }

    public void setMatIsSupervision(String matIsSupervision) {
        this.matIsSupervision = matIsSupervision;
    }
    public String getMatDrawNo() {
        return matDrawNo;
    }

    public void setMatDrawNo(String matDrawNo) {
        this.matDrawNo = matDrawNo;
    }
    public BigDecimal getMatWeight() {
        return matWeight;
    }

    public void setMatWeight(BigDecimal matWeight) {
        this.matWeight = matWeight;
    }
    public Float getMatLossLate() {
        return matLossLate;
    }

    public void setMatLossLate(Float matLossLate) {
        this.matLossLate = matLossLate;
    }
    public Float getMatPrice() {
        return matPrice;
    }

    public void setMatPrice(Float matPrice) {
        this.matPrice = matPrice;
    }
    public String getMatProduceCycle() {
        return matProduceCycle;
    }

    public void setMatProduceCycle(String matProduceCycle) {
        this.matProduceCycle = matProduceCycle;
    }
    public String getMatDescription() {
        return matDescription;
    }

    public void setMatDescription(String matDescription) {
        this.matDescription = matDescription;
    }
    public Integer getMatUseState() {
        return matUseState;
    }

    public void setMatUseState(Integer matUseState) {
        this.matUseState = matUseState;
    }
    public String getMatOrgid() {
        return matOrgid;
    }

    public void setMatOrgid(String matOrgid) {
        this.matOrgid = matOrgid;
    }
    public String getMatCreateUser() {
        return matCreateUser;
    }

    public void setMatCreateUser(String matCreateUser) {
        this.matCreateUser = matCreateUser;
    }
    public Date getMatCreateTime() {
        return matCreateTime;
    }

    public void setMatCreateTime(Date matCreateTime) {
        this.matCreateTime = matCreateTime;
    }
    public String getMatUpdateUser() {
        return matUpdateUser;
    }

    public void setMatUpdateUser(String matUpdateUser) {
        this.matUpdateUser = matUpdateUser;
    }
    public Date getMatUpdateTime() {
        return matUpdateTime;
    }

    public void setMatUpdateTime(Date matUpdateTime) {
        this.matUpdateTime = matUpdateTime;
    }

    @Override
    public String toString() {
        return "Material{" +
            "matDbid=" + matDbid +
            ", matClassDbid=" + matClassDbid +
            ", matName=" + matName +
            ", matCode=" + matCode +
            ", matQualityLevel=" + matQualityLevel +
            ", matProductPeriod=" + matProductPeriod +
            ", matImplementStandard=" + matImplementStandard +
            ", matTexture=" + matTexture +
            ", matSpecificationLevel=" + matSpecificationLevel +
            ", matSpecifications=" + matSpecifications +
            ", matClassCode=" + matClassCode +
            ", matSafetyStock=" + matSafetyStock +
            ", matMeasuerUnit=" + matMeasuerUnit +
            ", matAssistMeasure=" + matAssistMeasure +
            ", matPurchaseCycle=" + matPurchaseCycle +
            ", matIsDecete=" + matIsDecete +
            ", matIsSupervision=" + matIsSupervision +
            ", matDrawNo=" + matDrawNo +
            ", matWeight=" + matWeight +
            ", matLossLate=" + matLossLate +
            ", matPrice=" + matPrice +
            ", matProduceCycle=" + matProduceCycle +
            ", matDescription=" + matDescription +
            ", matUseState=" + matUseState +
            ", matOrgid=" + matOrgid +
            ", matCreateUser=" + matCreateUser +
            ", matCreateTime=" + matCreateTime +
            ", matUpdateUser=" + matUpdateUser +
            ", matUpdateTime=" + matUpdateTime +
        "}";
    }
}
